{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { genCollapseMotion, zoomIn } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nimport genFormValidateMotionStyle from './explain';\nvar resetForm = function resetForm(token) {\n  var _ref2;\n  return _ref2 = {\n    legend: {\n      display: 'block',\n      width: '100%',\n      marginBottom: token.marginLG,\n      padding: 0,\n      color: token.colorTextDescription,\n      fontSize: token.fontSizeLG,\n      lineHeight: 'inherit',\n      border: 0,\n      borderBottom: \"\".concat(token.lineWidth, \"px \").concat(token.lineType, \" \").concat(token.colorBorder)\n    },\n    label: {\n      fontSize: token.fontSize\n    },\n    'input[type=\"search\"]': {\n      boxSizing: 'border-box'\n    },\n    // Position radios and checkboxes better\n    'input[type=\"radio\"], input[type=\"checkbox\"]': {\n      lineHeight: 'normal'\n    },\n    'input[type=\"file\"]': {\n      display: 'block'\n    },\n    // Make range inputs behave like textual form controls\n    'input[type=\"range\"]': {\n      display: 'block',\n      width: '100%'\n    },\n    // Make multiple select elements height not fixed\n    'select[multiple], select[size]': {\n      height: 'auto'\n    }\n  }, _defineProperty(_ref2, \"input[type='file']:focus,\\n  input[type='radio']:focus,\\n  input[type='checkbox']:focus\", {\n    outline: 0,\n    boxShadow: \"0 0 0 \".concat(token.controlOutlineWidth, \"px \").concat(token.controlOutline)\n  }), _defineProperty(_ref2, \"output\", {\n    display: 'block',\n    paddingTop: 15,\n    color: token.colorText,\n    fontSize: token.fontSize,\n    lineHeight: token.lineHeight\n  }), _ref2;\n};\nvar genFormSize = function genFormSize(token, height) {\n  var _formItemCls;\n  var formItemCls = token.formItemCls;\n  return _defineProperty({}, formItemCls, (_formItemCls = {}, _defineProperty(_formItemCls, \"\".concat(formItemCls, \"-label > label\"), {\n    height: height\n  }), _defineProperty(_formItemCls, \"\".concat(formItemCls, \"-control-input\"), {\n    minHeight: height\n  }), _formItemCls));\n};\nvar genFormStyle = function genFormStyle(token) {\n  var _Object$assign;\n  var componentCls = token.componentCls;\n  return _defineProperty({}, token.componentCls, Object.assign(Object.assign(Object.assign({}, resetComponent(token)), resetForm(token)), (_Object$assign = {}, _defineProperty(_Object$assign, \"\".concat(componentCls, \"-text\"), {\n    display: 'inline-block',\n    paddingInlineEnd: token.paddingSM\n  }), _defineProperty(_Object$assign, '&-small', Object.assign({}, genFormSize(token, token.controlHeightSM))), _defineProperty(_Object$assign, '&-large', Object.assign({}, genFormSize(token, token.controlHeightLG))), _Object$assign)));\n};\nvar genFormItemStyle = function genFormItemStyle(token) {\n  var _label, _$concat2, _Object$assign2;\n  var formItemCls = token.formItemCls,\n    iconCls = token.iconCls,\n    componentCls = token.componentCls,\n    rootPrefixCls = token.rootPrefixCls;\n  return _defineProperty({}, formItemCls, Object.assign(Object.assign({}, resetComponent(token)), (_Object$assign2 = {\n    marginBottom: token.marginLG,\n    verticalAlign: 'top',\n    '&-with-help': {\n      transition: 'none'\n    }\n  }, _defineProperty(_Object$assign2, \"&-hidden,\\n        &-hidden.\".concat(rootPrefixCls, \"-row\"), {\n    // https://github.com/ant-design/ant-design/issues/26141\n    display: 'none'\n  }), _defineProperty(_Object$assign2, '&-has-warning', _defineProperty({}, \"\".concat(formItemCls, \"-split\"), {\n    color: token.colorError\n  })), _defineProperty(_Object$assign2, '&-has-error', _defineProperty({}, \"\".concat(formItemCls, \"-split\"), {\n    color: token.colorWarning\n  })), _defineProperty(_Object$assign2, \"\".concat(formItemCls, \"-label\"), {\n    display: 'inline-block',\n    flexGrow: 0,\n    overflow: 'hidden',\n    whiteSpace: 'nowrap',\n    textAlign: 'end',\n    verticalAlign: 'middle',\n    '&-left': {\n      textAlign: 'start'\n    },\n    '&-wrap': {\n      overflow: 'unset',\n      lineHeight: \"\".concat(token.lineHeight, \" - 0.25em\"),\n      whiteSpace: 'unset'\n    },\n    '> label': (_label = {\n      position: 'relative',\n      display: 'inline-flex',\n      alignItems: 'center',\n      maxWidth: '100%',\n      height: token.controlHeight,\n      color: token.colorTextHeading,\n      fontSize: token.fontSize\n    }, _defineProperty(_label, \"> \".concat(iconCls), {\n      fontSize: token.fontSize,\n      verticalAlign: 'top'\n    }), _defineProperty(_label, \"&\".concat(formItemCls, \"-required:not(\").concat(formItemCls, \"-required-mark-optional)::before\"), _defineProperty({\n      display: 'inline-block',\n      marginInlineEnd: token.marginXXS,\n      color: token.colorError,\n      fontSize: token.fontSize,\n      fontFamily: 'SimSun, sans-serif',\n      lineHeight: 1,\n      content: '\"*\"'\n    }, \"\".concat(componentCls, \"-hide-required-mark &\"), {\n      display: 'none'\n    })), _defineProperty(_label, \"\".concat(formItemCls, \"-optional\"), _defineProperty({\n      display: 'inline-block',\n      marginInlineStart: token.marginXXS,\n      color: token.colorTextDescription\n    }, \"\".concat(componentCls, \"-hide-required-mark &\"), {\n      display: 'none'\n    })), _defineProperty(_label, \"\".concat(formItemCls, \"-tooltip\"), {\n      color: token.colorTextDescription,\n      cursor: 'help',\n      writingMode: 'horizontal-tb',\n      marginInlineStart: token.marginXXS\n    }), _defineProperty(_label, '&::after', {\n      content: '\":\"',\n      position: 'relative',\n      marginBlock: 0,\n      marginInlineStart: token.marginXXS / 2,\n      marginInlineEnd: token.marginXS\n    }), _defineProperty(_label, \"&\".concat(formItemCls, \"-no-colon::after\"), {\n      content: '\" \"'\n    }), _label)\n  }), _defineProperty(_Object$assign2, \"\".concat(formItemCls, \"-control\"), (_$concat2 = {\n    display: 'flex',\n    flexDirection: 'column',\n    flexGrow: 1\n  }, _defineProperty(_$concat2, \"&:first-child:not([class^=\\\"'\".concat(rootPrefixCls, \"-col-'\\\"]):not([class*=\\\"' \").concat(rootPrefixCls, \"-col-'\\\"])\"), {\n    width: '100%'\n  }), _defineProperty(_$concat2, '&-input', {\n    position: 'relative',\n    display: 'flex',\n    alignItems: 'center',\n    minHeight: token.controlHeight,\n    '&-content': {\n      flex: 'auto',\n      maxWidth: '100%'\n    }\n  }), _$concat2)), _defineProperty(_Object$assign2, formItemCls, {\n    '&-explain, &-extra': {\n      clear: 'both',\n      color: token.colorTextDescription,\n      fontSize: token.fontSize,\n      lineHeight: token.lineHeight\n    },\n    '&-explain-connected': {\n      width: '100%'\n    },\n    '&-extra': {\n      minHeight: token.controlHeightSM,\n      transition: \"color \".concat(token.motionDurationMid, \" \").concat(token.motionEaseOut) // sync input color transition\n    },\n\n    '&-explain': {\n      '&-error': {\n        color: token.colorError\n      },\n      '&-warning': {\n        color: token.colorWarning\n      }\n    }\n  }), _defineProperty(_Object$assign2, \"&-with-help \".concat(formItemCls, \"-explain\"), {\n    height: 'auto',\n    opacity: 1\n  }), _defineProperty(_Object$assign2, \"\".concat(formItemCls, \"-feedback-icon\"), {\n    fontSize: token.fontSize,\n    textAlign: 'center',\n    visibility: 'visible',\n    animationName: zoomIn,\n    animationDuration: token.motionDurationMid,\n    animationTimingFunction: token.motionEaseOutBack,\n    pointerEvents: 'none',\n    '&-success': {\n      color: token.colorSuccess\n    },\n    '&-error': {\n      color: token.colorError\n    },\n    '&-warning': {\n      color: token.colorWarning\n    },\n    '&-validating': {\n      color: token.colorPrimary\n    }\n  }), _Object$assign2)));\n};\nvar genHorizontalStyle = function genHorizontalStyle(token) {\n  var _$concat3;\n  var componentCls = token.componentCls,\n    formItemCls = token.formItemCls,\n    rootPrefixCls = token.rootPrefixCls;\n  return _defineProperty({}, \"\".concat(componentCls, \"-horizontal\"), (_$concat3 = {}, _defineProperty(_$concat3, \"\".concat(formItemCls, \"-label\"), {\n    flexGrow: 0\n  }), _defineProperty(_$concat3, \"\".concat(formItemCls, \"-control\"), {\n    flex: '1 1 0',\n    // https://github.com/ant-design/ant-design/issues/32777\n    // https://github.com/ant-design/ant-design/issues/33773\n    minWidth: 0\n  }), _defineProperty(_$concat3, \"\".concat(formItemCls, \"-label.\").concat(rootPrefixCls, \"-col-24 + \").concat(formItemCls, \"-control\"), {\n    minWidth: 'unset'\n  }), _$concat3));\n};\nvar genInlineStyle = function genInlineStyle(token) {\n  var _formItemCls2;\n  var componentCls = token.componentCls,\n    formItemCls = token.formItemCls;\n  return _defineProperty({}, \"\".concat(componentCls, \"-inline\"), _defineProperty({\n    display: 'flex',\n    flexWrap: 'wrap'\n  }, formItemCls, (_formItemCls2 = {\n    flex: 'none',\n    flexWrap: 'nowrap',\n    marginInlineEnd: token.margin,\n    marginBottom: 0,\n    '&-with-help': {\n      marginBottom: token.marginLG\n    }\n  }, _defineProperty(_formItemCls2, \"> \".concat(formItemCls, \"-label,\\n        > \").concat(formItemCls, \"-control\"), {\n    display: 'inline-block',\n    verticalAlign: 'top'\n  }), _defineProperty(_formItemCls2, \"> \".concat(formItemCls, \"-label\"), {\n    flex: 'none'\n  }), _defineProperty(_formItemCls2, \"\".concat(componentCls, \"-text\"), {\n    display: 'inline-block'\n  }), _defineProperty(_formItemCls2, \"\".concat(formItemCls, \"-has-feedback\"), {\n    display: 'inline-block'\n  }), _formItemCls2)));\n};\nvar makeVerticalLayoutLabel = function makeVerticalLayoutLabel(token) {\n  return {\n    margin: 0,\n    padding: \"0 0 \".concat(token.paddingXS, \"px\"),\n    whiteSpace: 'initial',\n    textAlign: 'start',\n    '> label': {\n      margin: 0,\n      '&::after': {\n        display: 'none'\n      }\n    }\n  };\n};\nvar makeVerticalLayout = function makeVerticalLayout(token) {\n  var _ref8;\n  var componentCls = token.componentCls,\n    formItemCls = token.formItemCls;\n  return _ref8 = {}, _defineProperty(_ref8, \"\".concat(formItemCls, \" \").concat(formItemCls, \"-label\"), makeVerticalLayoutLabel(token)), _defineProperty(_ref8, componentCls, _defineProperty({}, formItemCls, _defineProperty({\n    flexWrap: 'wrap'\n  }, \"\".concat(formItemCls, \"-label,\\n          \").concat(formItemCls, \"-control\"), {\n    flex: '0 0 100%',\n    maxWidth: '100%'\n  }))), _ref8;\n};\nvar genVerticalStyle = function genVerticalStyle(token) {\n  var _ref10;\n  var componentCls = token.componentCls,\n    formItemCls = token.formItemCls,\n    rootPrefixCls = token.rootPrefixCls;\n  return _ref10 = {}, _defineProperty(_ref10, \"\".concat(componentCls, \"-vertical\"), _defineProperty({}, formItemCls, _defineProperty({\n    '&-row': {\n      flexDirection: 'column'\n    },\n    '&-label > label': {\n      height: 'auto'\n    }\n  }, \"\".concat(componentCls, \"-item-control\"), {\n    width: '100%'\n  }))), _defineProperty(_ref10, \"\".concat(componentCls, \"-vertical \").concat(formItemCls, \"-label,\\n      .\").concat(rootPrefixCls, \"-col-24\").concat(formItemCls, \"-label,\\n      .\").concat(rootPrefixCls, \"-col-xl-24\").concat(formItemCls, \"-label\"), makeVerticalLayoutLabel(token)), _defineProperty(_ref10, \"@media (max-width: \".concat(token.screenXSMax, \"px)\"), [makeVerticalLayout(token), _defineProperty({}, componentCls, _defineProperty({}, \".\".concat(rootPrefixCls, \"-col-xs-24\").concat(formItemCls, \"-label\"), makeVerticalLayoutLabel(token)))]), _defineProperty(_ref10, \"@media (max-width: \".concat(token.screenSMMax, \"px)\"), _defineProperty({}, componentCls, _defineProperty({}, \".\".concat(rootPrefixCls, \"-col-sm-24\").concat(formItemCls, \"-label\"), makeVerticalLayoutLabel(token)))), _defineProperty(_ref10, \"@media (max-width: \".concat(token.screenMDMax, \"px)\"), _defineProperty({}, componentCls, _defineProperty({}, \".\".concat(rootPrefixCls, \"-col-md-24\").concat(formItemCls, \"-label\"), makeVerticalLayoutLabel(token)))), _defineProperty(_ref10, \"@media (max-width: \".concat(token.screenLGMax, \"px)\"), _defineProperty({}, componentCls, _defineProperty({}, \".\".concat(rootPrefixCls, \"-col-lg-24\").concat(formItemCls, \"-label\"), makeVerticalLayoutLabel(token)))), _ref10;\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Form', function (token, _ref) {\n  var rootPrefixCls = _ref.rootPrefixCls;\n  var formToken = mergeToken(token, {\n    formItemCls: \"\".concat(token.componentCls, \"-item\"),\n    rootPrefixCls: rootPrefixCls\n  });\n  return [genFormStyle(formToken), genFormItemStyle(formToken), genFormValidateMotionStyle(formToken), genHorizontalStyle(formToken), genInlineStyle(formToken), genVerticalStyle(formToken), genCollapseMotion(formToken), zoomIn];\n});","map":{"version":3,"names":["genCollapseMotion","zoomIn","genComponentStyleHook","mergeToken","resetComponent","genFormValidateMotionStyle","resetForm","token","legend","display","width","marginBottom","marginLG","padding","color","colorTextDescription","fontSize","fontSizeLG","lineHeight","border","borderBottom","lineWidth","lineType","colorBorder","label","boxSizing","height","outline","boxShadow","controlOutlineWidth","controlOutline","paddingTop","colorText","genFormSize","formItemCls","minHeight","genFormStyle","componentCls","Object","assign","paddingInlineEnd","paddingSM","controlHeightSM","controlHeightLG","genFormItemStyle","iconCls","rootPrefixCls","verticalAlign","transition","colorError","colorWarning","flexGrow","overflow","whiteSpace","textAlign","position","alignItems","maxWidth","controlHeight","colorTextHeading","marginInlineEnd","marginXXS","fontFamily","content","marginInlineStart","cursor","writingMode","marginBlock","marginXS","flexDirection","flex","clear","motionDurationMid","motionEaseOut","opacity","visibility","animationName","animationDuration","animationTimingFunction","motionEaseOutBack","pointerEvents","colorSuccess","colorPrimary","genHorizontalStyle","minWidth","genInlineStyle","flexWrap","margin","makeVerticalLayoutLabel","paddingXS","makeVerticalLayout","genVerticalStyle","screenXSMax","screenSMMax","screenMDMax","screenLGMax","_ref","formToken"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/form/style/index.js"],"sourcesContent":["import { genCollapseMotion, zoomIn } from '../../style/motion';\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nimport genFormValidateMotionStyle from './explain';\nconst resetForm = token => ({\n  legend: {\n    display: 'block',\n    width: '100%',\n    marginBottom: token.marginLG,\n    padding: 0,\n    color: token.colorTextDescription,\n    fontSize: token.fontSizeLG,\n    lineHeight: 'inherit',\n    border: 0,\n    borderBottom: `${token.lineWidth}px ${token.lineType} ${token.colorBorder}`\n  },\n  label: {\n    fontSize: token.fontSize\n  },\n  'input[type=\"search\"]': {\n    boxSizing: 'border-box'\n  },\n  // Position radios and checkboxes better\n  'input[type=\"radio\"], input[type=\"checkbox\"]': {\n    lineHeight: 'normal'\n  },\n  'input[type=\"file\"]': {\n    display: 'block'\n  },\n  // Make range inputs behave like textual form controls\n  'input[type=\"range\"]': {\n    display: 'block',\n    width: '100%'\n  },\n  // Make multiple select elements height not fixed\n  'select[multiple], select[size]': {\n    height: 'auto'\n  },\n  // Focus for file, radio, and checkbox\n  [`input[type='file']:focus,\n  input[type='radio']:focus,\n  input[type='checkbox']:focus`]: {\n    outline: 0,\n    boxShadow: `0 0 0 ${token.controlOutlineWidth}px ${token.controlOutline}`\n  },\n  // Adjust output element\n  output: {\n    display: 'block',\n    paddingTop: 15,\n    color: token.colorText,\n    fontSize: token.fontSize,\n    lineHeight: token.lineHeight\n  }\n});\nconst genFormSize = (token, height) => {\n  const {\n    formItemCls\n  } = token;\n  return {\n    [formItemCls]: {\n      [`${formItemCls}-label > label`]: {\n        height\n      },\n      [`${formItemCls}-control-input`]: {\n        minHeight: height\n      }\n    }\n  };\n};\nconst genFormStyle = token => {\n  const {\n    componentCls\n  } = token;\n  return {\n    [token.componentCls]: Object.assign(Object.assign(Object.assign({}, resetComponent(token)), resetForm(token)), {\n      [`${componentCls}-text`]: {\n        display: 'inline-block',\n        paddingInlineEnd: token.paddingSM\n      },\n      // ================================================================\n      // =                             Size                             =\n      // ================================================================\n      '&-small': Object.assign({}, genFormSize(token, token.controlHeightSM)),\n      '&-large': Object.assign({}, genFormSize(token, token.controlHeightLG))\n    })\n  };\n};\nconst genFormItemStyle = token => {\n  const {\n    formItemCls,\n    iconCls,\n    componentCls,\n    rootPrefixCls\n  } = token;\n  return {\n    [formItemCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      marginBottom: token.marginLG,\n      verticalAlign: 'top',\n      '&-with-help': {\n        transition: 'none'\n      },\n      [`&-hidden,\n        &-hidden.${rootPrefixCls}-row`]: {\n        // https://github.com/ant-design/ant-design/issues/26141\n        display: 'none'\n      },\n      '&-has-warning': {\n        [`${formItemCls}-split`]: {\n          color: token.colorError\n        }\n      },\n      '&-has-error': {\n        [`${formItemCls}-split`]: {\n          color: token.colorWarning\n        }\n      },\n      // ==============================================================\n      // =                            Label                           =\n      // ==============================================================\n      [`${formItemCls}-label`]: {\n        display: 'inline-block',\n        flexGrow: 0,\n        overflow: 'hidden',\n        whiteSpace: 'nowrap',\n        textAlign: 'end',\n        verticalAlign: 'middle',\n        '&-left': {\n          textAlign: 'start'\n        },\n        '&-wrap': {\n          overflow: 'unset',\n          lineHeight: `${token.lineHeight} - 0.25em`,\n          whiteSpace: 'unset'\n        },\n        '> label': {\n          position: 'relative',\n          display: 'inline-flex',\n          alignItems: 'center',\n          maxWidth: '100%',\n          height: token.controlHeight,\n          color: token.colorTextHeading,\n          fontSize: token.fontSize,\n          [`> ${iconCls}`]: {\n            fontSize: token.fontSize,\n            verticalAlign: 'top'\n          },\n          // Required mark\n          [`&${formItemCls}-required:not(${formItemCls}-required-mark-optional)::before`]: {\n            display: 'inline-block',\n            marginInlineEnd: token.marginXXS,\n            color: token.colorError,\n            fontSize: token.fontSize,\n            fontFamily: 'SimSun, sans-serif',\n            lineHeight: 1,\n            content: '\"*\"',\n            [`${componentCls}-hide-required-mark &`]: {\n              display: 'none'\n            }\n          },\n          // Optional mark\n          [`${formItemCls}-optional`]: {\n            display: 'inline-block',\n            marginInlineStart: token.marginXXS,\n            color: token.colorTextDescription,\n            [`${componentCls}-hide-required-mark &`]: {\n              display: 'none'\n            }\n          },\n          // Optional mark\n          [`${formItemCls}-tooltip`]: {\n            color: token.colorTextDescription,\n            cursor: 'help',\n            writingMode: 'horizontal-tb',\n            marginInlineStart: token.marginXXS\n          },\n          '&::after': {\n            content: '\":\"',\n            position: 'relative',\n            marginBlock: 0,\n            marginInlineStart: token.marginXXS / 2,\n            marginInlineEnd: token.marginXS\n          },\n          [`&${formItemCls}-no-colon::after`]: {\n            content: '\" \"'\n          }\n        }\n      },\n      // ==============================================================\n      // =                            Input                           =\n      // ==============================================================\n      [`${formItemCls}-control`]: {\n        display: 'flex',\n        flexDirection: 'column',\n        flexGrow: 1,\n        [`&:first-child:not([class^=\"'${rootPrefixCls}-col-'\"]):not([class*=\"' ${rootPrefixCls}-col-'\"])`]: {\n          width: '100%'\n        },\n        '&-input': {\n          position: 'relative',\n          display: 'flex',\n          alignItems: 'center',\n          minHeight: token.controlHeight,\n          '&-content': {\n            flex: 'auto',\n            maxWidth: '100%'\n          }\n        }\n      },\n      // ==============================================================\n      // =                           Explain                          =\n      // ==============================================================\n      [formItemCls]: {\n        '&-explain, &-extra': {\n          clear: 'both',\n          color: token.colorTextDescription,\n          fontSize: token.fontSize,\n          lineHeight: token.lineHeight\n        },\n        '&-explain-connected': {\n          width: '100%'\n        },\n        '&-extra': {\n          minHeight: token.controlHeightSM,\n          transition: `color ${token.motionDurationMid} ${token.motionEaseOut}` // sync input color transition\n        },\n\n        '&-explain': {\n          '&-error': {\n            color: token.colorError\n          },\n          '&-warning': {\n            color: token.colorWarning\n          }\n        }\n      },\n      [`&-with-help ${formItemCls}-explain`]: {\n        height: 'auto',\n        opacity: 1\n      },\n      // ==============================================================\n      // =                        Feedback Icon                       =\n      // ==============================================================\n      [`${formItemCls}-feedback-icon`]: {\n        fontSize: token.fontSize,\n        textAlign: 'center',\n        visibility: 'visible',\n        animationName: zoomIn,\n        animationDuration: token.motionDurationMid,\n        animationTimingFunction: token.motionEaseOutBack,\n        pointerEvents: 'none',\n        '&-success': {\n          color: token.colorSuccess\n        },\n        '&-error': {\n          color: token.colorError\n        },\n        '&-warning': {\n          color: token.colorWarning\n        },\n        '&-validating': {\n          color: token.colorPrimary\n        }\n      }\n    })\n  };\n};\nconst genHorizontalStyle = token => {\n  const {\n    componentCls,\n    formItemCls,\n    rootPrefixCls\n  } = token;\n  return {\n    [`${componentCls}-horizontal`]: {\n      [`${formItemCls}-label`]: {\n        flexGrow: 0\n      },\n      [`${formItemCls}-control`]: {\n        flex: '1 1 0',\n        // https://github.com/ant-design/ant-design/issues/32777\n        // https://github.com/ant-design/ant-design/issues/33773\n        minWidth: 0\n      },\n      // https://github.com/ant-design/ant-design/issues/32980\n      [`${formItemCls}-label.${rootPrefixCls}-col-24 + ${formItemCls}-control`]: {\n        minWidth: 'unset'\n      }\n    }\n  };\n};\nconst genInlineStyle = token => {\n  const {\n    componentCls,\n    formItemCls\n  } = token;\n  return {\n    [`${componentCls}-inline`]: {\n      display: 'flex',\n      flexWrap: 'wrap',\n      [formItemCls]: {\n        flex: 'none',\n        flexWrap: 'nowrap',\n        marginInlineEnd: token.margin,\n        marginBottom: 0,\n        '&-with-help': {\n          marginBottom: token.marginLG\n        },\n        [`> ${formItemCls}-label,\n        > ${formItemCls}-control`]: {\n          display: 'inline-block',\n          verticalAlign: 'top'\n        },\n        [`> ${formItemCls}-label`]: {\n          flex: 'none'\n        },\n        [`${componentCls}-text`]: {\n          display: 'inline-block'\n        },\n        [`${formItemCls}-has-feedback`]: {\n          display: 'inline-block'\n        }\n      }\n    }\n  };\n};\nconst makeVerticalLayoutLabel = token => ({\n  margin: 0,\n  padding: `0 0 ${token.paddingXS}px`,\n  whiteSpace: 'initial',\n  textAlign: 'start',\n  '> label': {\n    margin: 0,\n    '&::after': {\n      display: 'none'\n    }\n  }\n});\nconst makeVerticalLayout = token => {\n  const {\n    componentCls,\n    formItemCls\n  } = token;\n  return {\n    [`${formItemCls} ${formItemCls}-label`]: makeVerticalLayoutLabel(token),\n    [componentCls]: {\n      [formItemCls]: {\n        flexWrap: 'wrap',\n        [`${formItemCls}-label,\n          ${formItemCls}-control`]: {\n          flex: '0 0 100%',\n          maxWidth: '100%'\n        }\n      }\n    }\n  };\n};\nconst genVerticalStyle = token => {\n  const {\n    componentCls,\n    formItemCls,\n    rootPrefixCls\n  } = token;\n  return {\n    [`${componentCls}-vertical`]: {\n      [formItemCls]: {\n        '&-row': {\n          flexDirection: 'column'\n        },\n        '&-label > label': {\n          height: 'auto'\n        },\n        [`${componentCls}-item-control`]: {\n          width: '100%'\n        }\n      }\n    },\n    [`${componentCls}-vertical ${formItemCls}-label,\n      .${rootPrefixCls}-col-24${formItemCls}-label,\n      .${rootPrefixCls}-col-xl-24${formItemCls}-label`]: makeVerticalLayoutLabel(token),\n    [`@media (max-width: ${token.screenXSMax}px)`]: [makeVerticalLayout(token), {\n      [componentCls]: {\n        [`.${rootPrefixCls}-col-xs-24${formItemCls}-label`]: makeVerticalLayoutLabel(token)\n      }\n    }],\n    [`@media (max-width: ${token.screenSMMax}px)`]: {\n      [componentCls]: {\n        [`.${rootPrefixCls}-col-sm-24${formItemCls}-label`]: makeVerticalLayoutLabel(token)\n      }\n    },\n    [`@media (max-width: ${token.screenMDMax}px)`]: {\n      [componentCls]: {\n        [`.${rootPrefixCls}-col-md-24${formItemCls}-label`]: makeVerticalLayoutLabel(token)\n      }\n    },\n    [`@media (max-width: ${token.screenLGMax}px)`]: {\n      [componentCls]: {\n        [`.${rootPrefixCls}-col-lg-24${formItemCls}-label`]: makeVerticalLayoutLabel(token)\n      }\n    }\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Form', (token, _ref) => {\n  let {\n    rootPrefixCls\n  } = _ref;\n  const formToken = mergeToken(token, {\n    formItemCls: `${token.componentCls}-item`,\n    rootPrefixCls\n  });\n  return [genFormStyle(formToken), genFormItemStyle(formToken), genFormValidateMotionStyle(formToken), genHorizontalStyle(formToken), genInlineStyle(formToken), genVerticalStyle(formToken), genCollapseMotion(formToken), zoomIn];\n});"],"mappings":";AAAA,SAASA,iBAAiB,EAAEC,MAAM,QAAQ,oBAAoB;AAC9D,SAASC,qBAAqB,EAAEC,UAAU,QAAQ,sBAAsB;AACxE,SAASC,cAAc,QAAQ,aAAa;AAC5C,OAAOC,0BAA0B,MAAM,WAAW;AAClD,IAAMC,SAAS,GAAG,SAAZA,SAAS,CAAGC,KAAK;EAAA;EAAA;IACrBC,MAAM,EAAE;MACNC,OAAO,EAAE,OAAO;MAChBC,KAAK,EAAE,M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